#!/bin/bash

# 创建conda环境
echo "创建conda环境'sleepModel'..."
conda create -n sleepModel python=3.12 -y

# 激活环境
echo "激活环境..."
source activate sleepModel

# 安装依赖
echo "安装项目依赖..."
pip install -r requirements.txt

# 提示用户如何运行项目
echo "\n环境设置完成！"
echo "要运行项目，请在激活环境后执行：python train.py"
echo "或者直接使用: conda activate sleepModel && python train.py"
